]> dgit.raspbian.org Git - openjdk-25.git/commitdiff
hotspot-mips-align
authorOpenJDK Team <openjdk-25@packages.debian.org>
Thu, 24 Sep 2026 07:52:19 +0000 (19:52 +1200)
committerVladimir Petko <vladimir.petko@canonical.com>
Thu, 24 Sep 2026 07:52:19 +0000 (19:52 +1200)
Gbp-Pq: Name hotspot-mips-align.diff

src/hotspot/cpu/zero/zeroInterpreter_zero.cpp

index 38051d6d1e2bb641477ef83c37d98cfbc7ebe648..ec5d55747e76fb4de387bfb89b3c78e9f1f384f8 100644 (file)
@@ -436,7 +436,7 @@ int ZeroInterpreter::native_entry(Method* method, intptr_t UNUSED, TRAPS) {
   ThreadStateTransition::transition_from_java(thread, _thread_in_native);
 
   // Make the call
-  intptr_t result[4 - LogBytesPerWord];
+  intptr_t result[4 - LogBytesPerWord] __attribute__((__aligned__(__alignof__(double))));
   ffi_call(handler->cif(), (void (*)()) function, result, arguments);
 
   // Change the thread state back to _thread_in_Java and ensure it